package com.itheima.service.sms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.core.PageInfo;
import com.itheima.pojo.sms.SmsCouponHistory;

public interface SmsCouponHistoryService extends IService<SmsCouponHistory> {

    /**
     *根据优惠券id，使用状态，订单编号分页获取领取记录
     * @param couponId
     * @param orderSn
     * @param pageNum
     * @param pageSize
     * @param useStatus
     * @return
     */
    PageInfo historyRecord(Integer couponId, String orderSn, Integer pageNum, Integer pageSize, Integer useStatus);
}
